package com.five.community.bean.vo;

import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@RequiredArgsConstructor
public class HousingVo {
    private long id;
    @NonNull
    private String comName;
    @NonNull
    private String buildName;
    @NonNull
    private String houseId;
    @NonNull
    private String property;
    @NonNull
    private String perName;
    @NonNull
    private String contactWay;
    @NonNull
    private long roomNumber;
    @NonNull
    private long unit;
    @NonNull
    private int floor;
    @NonNull
    private String describes;
    @NonNull
    @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm")
    private Date checkIn;
}
